package com.jeesite.modules.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 主任务子任务关系/table: ots_deploy_map
 *
 * @author ya_jun
 */
@ApiModel(value = "主任务子任务关系", description = "主任务子任务关系")
public class OtsDeployMap implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主任务ID
     */
    @ApiModelProperty(value = "主任务ID", name = "ptaskid")
    private Long ptaskid;
    /**
     * 子任务ID
     */
    @ApiModelProperty(value = "子任务ID", name = "taskid")
    private Long taskid;
    /**
     * 租户ID
     */
    @ApiModelProperty(value = "租户ID", name = "compid")
    private Long compid;

    public Long getPtaskid() {
        return ptaskid;
    }

    public void setPtaskid(Long ptaskid) {
        this.ptaskid = ptaskid;
    }

    public Long getTaskid() {
        return taskid;
    }

    public void setTaskid(Long taskid) {
        this.taskid = taskid;
    }

    public Long getCompid() {
        return compid;
    }

    public void setCompid(Long compid) {
        this.compid = compid;
    }

    @Override
    public String toString() {
        return "OtsDeployMap{" +
                "ptaskid=" + ptaskid +
                ", taskid=" + taskid +
                ", compid=" + compid +
                '}';
    }
}
